package com.yungu.swift.common.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.Date;

public class CommonSystemMessageDto extends BaseDto {


    /**
     * 发送对象 1：全部
     */
    public static final int SEND_OBJECT_ALL_SYS_USERS = 1;
    /**
     * 发送状态 1：已发送
     */
    public static final int IS_SEND = 1;


    /**
     * 消息类型 4系统通知 5升级公告
     */
    private Integer type;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 版本更新时间
     */
    private Date versionUpdatedOn;
    /**
     * 发送对象 1：全部
     */
    private Integer sendObject;
    /**
     * 状态（1：已发送）
     */
    private Integer status;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getVersionUpdatedOn() {
        return versionUpdatedOn;
    }

    public void setVersionUpdatedOn(Date versionUpdatedOn) {
        this.versionUpdatedOn = versionUpdatedOn;
    }

    public Integer getSendObject() {
        return sendObject;
    }

    public void setSendObject(Integer sendObject) {
        this.sendObject = sendObject;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}